package wickethub.data;

import java.util.Collection;
import java.util.LinkedHashSet;
import java.util.Set;

import com.google.inject.Singleton;

@Singleton
public class DataHolder {

	private final Set<String> topics = new LinkedHashSet<String>(50);
	private final Set<String> versions = new LinkedHashSet<String>(10);
	
	public Set<String> getTopics() {
		return topics;
	}
	
	public void addTopics(Collection<String> topics) {
		this.topics.addAll(topics);
	}
	
	public Set<String> getVersions() {
		return versions;
	}
	
	public void addVersions(Collection<String> versions) {
		this.versions.addAll(versions);
	}
	
}
